package com.iteaj.util.xml;

import java.util.ArrayList;
import java.util.List;

/**
 * jdk：1.8
 *
 * @author lcz
 * create time：2019/5/16
 */
public class XmlNode {

    private String name;
    private String value;

    private List<XmlNode> children = new ArrayList<>();

    public XmlNode(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public List<XmlNode> getChildren() {
        return children;
    }

    public void setChildren(List<XmlNode> children) {
        this.children = children;
    }
}
